//
// Created by 123 on 2024/12/30.
//
#include "iostream"
using namespace std;

struct Student{
    string name;
    int age;
    int gdp;
}s3;

int main034(){
    struct Student s1;
    s1.name = "zhangsan";
    s1.age = 18;
    s1.gdp = 99;
    cout << "name:" << s1.name << " age:" << s1.age << " gdp:" << s1.gdp << endl;

     Student s2 = {"lisi",20,88};
    cout << "name:" << s2.name << " age:" << s2.age << " gdp:" << s2.gdp << endl;

    s3.name = "wangwu";
    s3.age = 22;
    s3.gdp = 77;
    cout << "name:" << s3.name << " age:" << s3.age << " gdp:" << s3.gdp << endl;
    return 0;
}